package com.cxyd.modules.job.dto;

import com.cxyd.common.constant.ScheduleConstants;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class SysJobDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long jobId;

    private String jobName;

    private String jobGroup;

    private String invokeTarget;

    private String cronExpression;

    private String misfirePolicy = ScheduleConstants.MISFIRE_DEFAULT;

    private String concurrent;

    private String status;
    /**
     * 创建者
     */
    private String creator;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;
}
